<template>
  <div class="app-title">
    <SvgIcon class="app-title-icon" :name="icon" />
    <span class="app-title-text">{{ text }}</span>
  </div>
</template>

<script>
export default {
  name: 'SearchInput',
  props: {
    icon: {
      type: String,
      default: ''
    },
    text: {
      type: String,
      default: ''
    }
  }
}
</script>

<style lang="scss" scoped>
@import 'styles/common.scss';
.app-title {
  margin-bottom: 0.2rem;
  font-size: 18px;
  color: $colorText1;
  .app-title-icon {
    color: $colorPrimary;
    margin-right: 10px;
  }
}
</style>
